package com.iris.live.services.data.repositories;

import com.iris.live.services.models.PageData;
import com.iris.live.services.services.MessageService;
import org.springframework.data.repository.NoRepositoryBean;

import java.util.List;

/**
 * Created by Huang Yongping on 2016/9/17.
 */

@NoRepositoryBean
public interface MessageRepository {
    public List getLatestAppointmentMsg(Integer subNum, String permit);

    public PageData getClientInfoByTel(MessageService.SaveActivityInviteRequest req, String permit);

    public List getLshMessageByIdAndPermit(String subStringInfo, String permit);

    public List isAvailableClue(String phone, String permit);

    public List getFollowingCustomer(String permit, String 所属CDO);

    public List getActivityInviteList(String permit,String code);

//    public List getActivityBeforInviteListFromImport(String permit,String phone,String name);

//    public List getActivityBeforInviteListFromRecords(String permit,String phone,String name);

    public List getActivityAfterInviteListFromImport(String permit,String phone,String name,String saleMan);

    public List getActivityAfterInviteListFromRecords(String permit,String phone,String name,String salean);

    public List getLshActivitySet();

    List getClientInfoByTelOverWrite(String permit, String tel);


}
